package com.ylr.basic.common.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-07-07 14:43:02
 * className: EphemeralDataDto
 * version: 1.0
 * description:
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class EphemeralDataDto {

    /**
     * 主键
     */
    private String id;

    /**
     * 业务主键
     */
    private String businessId;

    /**
     * 业务类型
     */
    private Integer businessType;

    /**
     * 业务数据
     */
    private String businessValue;

    /**
     * 过期时间（时间戳）
     */
    private Date expire;

    /**
     * 版本号
     */
    private Integer version;

}
